.side-menu-container {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative; // 添加相对定位，为绝对定位的元素提供参考

  // 明确的分隔线样式
  .menu-divider {
    margin: 8px auto;
    width: 24px;
    min-width: 24px;
    background-color: #efeff6;
    height: 1px;
  }

  .ant-menu {
    border-right: none; // 去除默认边框
    background-color: #ffffff; // 设置菜单背景为白色
    flex-shrink: 0; // 防止菜单被压缩

    .ant-menu-item {
      height: 38px;
      line-height: 40px;
      padding: 0 !important;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #595959;
      margin: 16px auto;

      &.ant-menu-item-selected {
        background-color: rgba(24, 144, 255, 0.1);
        color: #1890ff;
      }

      .anticon {
        font-size: 18px;
        margin: 0 !important;
      }

      &:hover {
        color: #1890ff;
      }
    }
  }

  // 隐藏菜单项文字
  .ant-menu-inline-collapsed .ant-menu-item .ant-menu-title-content {
    display: none;
  }

  // 图标提示样式
  .ant-menu-item-tooltip-open .anticon {
    color: #1890ff;
  }

  // 底部操作按钮区域
  .menu-bottom-actions {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 10px;

    .bottom-action-item {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 12px;
      cursor: pointer;
      color: #595959;

      &:hover {
        background-color: rgba(0, 0, 0, 0.03);
        color: #1890ff;
      }

      .anticon {
        font-size: 18px;
      }

      .ant-avatar {
        cursor: pointer;
      }
    }
  }
}

// 自定义Tooltip样式
.menu-item-tooltip {
  font-size: 14px;
}

// 用户信息弹窗样式
.user-popover {
  .user-popover-content {
    width: 200px;
    padding: 8px;

    .user-info {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 8px 0;

      .user-name {
        margin-top: 8px;
        font-weight: 500;
      }
    }
  }
}
